package com.gl.order.entity.dto;

import lombok.Data;

import javax.validation.constraints.Min;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 获取用户的分页参数
 */
@Data
public class CustomerPageDto {

    @NotNull(message = "缺少参数")
    @Min(value = 0, message = "页码不能少于0")
    private Integer pageNo;

    @NotNull(message = "缺少参数")
    @Min(value = 1, message = "每页条数不能小于1")
    private Integer pageSize;

    @NotBlank(message = "请选择销售")
    private String marketId;

    private String addressId;

    private String customerId;

    private String queryValue;

}
